package com.hqq.behaviour.strategy;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * SpellStrategy
 * 具体策略角色：包装了相关的算法和行为。
 * Created by heqianqian on 2017/6/19.
 */
public class SpellStrategy implements DragonSlayingStrategy {

    private static final Logger LOGGER = LoggerFactory.getLogger(SpellStrategy.class);

    @Override
    public void execute() {
        LOGGER.info("You cast the spell of disintegration and the dragon vaporizes in a pile of dust!");
    }
}
